using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMDepartmentBusiness
    {
        public static clsTMDepartmentController cls = new clsTMDepartmentController();

        #region[Get-Data]
        public DataTable BindGirdTMDepartment()
        {
            return cls.BindGirdTMDepartment();
        }
        public DataTable BindGirdTMDepartment_Detail_Edit(int id)
        {
            return cls.BindGirdTMDepartment_Detail_Edit(id);
        }
        public DataTable BindGridMail(string id)
        {
            return cls.BindGridMail(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMDepartment(clsTMDepartmentProperty obj)
        {
            return cls.InsertTMDepartment(obj);
        }
        public static bool UpdateTMDepartment(clsTMDepartmentProperty obj)
        {
            return cls.UpdateTMDepartment(obj);
        }
        public static bool DeleteTMDepartment(int id)
        {
            return cls.DeleteTMDepartment(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion

    }
}